var e = require;
var t = module;
var o = exports;
var n,
    i = o,
    a =
        ((n = function (e, t) {
            return (n =
                Object.setPrototypeOf ||
                ({__proto__: []} instanceof Array &&
                    function (e, t) {
                        e.__proto__ = t;
                    }) ||
                function (e, t) {
                    for (var o in t) t.hasOwnProperty(o) && (e[o] = t[o]);
                })(e, t);
        }),
        function (e, t) {
            function o() {
                this.constructor = e;
            }
            n(e, t), (e.prototype = null === t ? Object.create(t) : ((o.prototype = t.prototype), new o()));
        }),
    r = function (e, t, o, n) {
        var i,
            a = arguments.length,
            r = a < 3 ? t : null === n ? (n = Object.getOwnPropertyDescriptor(t, o)) : n;
        if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(e, t, o, n);
        else
            for (var s = e.length - 1; s >= 0; s--)
                (i = e[s]) && (r = (a < 3 ? i(r) : a > 3 ? i(t, o, r) : i(t, o)) || r);
        return a > 3 && r && Object.defineProperty(t, o, r), r;
    };
Object.defineProperty(i, "__esModule", {value: !0});
var s = e("BaseListView"),
    c = cc._decorator,
    l = c.ccclass,
    d = (c.property, c.menu),
    u = c.executionOrder,
    p = (function (e) {
        function t() {
            var t = (null !== e && e.apply(this, arguments)) || this;
            return (t._listView = null), t;
        }
        return (
            a(t, e),
            (t.prototype.init = function () {
                this.listView.init();
            }),
            Object.defineProperty(t.prototype, "scroll_com", {
                get: function () {
                    return this.listView.scroll_com;
                },
                enumerable: !1,
                configurable: !0
            }),
            (t.prototype.refreshHandler = function (e, t, o) {
                void 0 === o && (o = null), this.listView.refreshHandler(e, t, o);
            }),
            (t.prototype.refresh = function () {
                this.listView.refresh();
            }),
            (t.prototype.refreshScrollView = function (e, t, o, n) {
                void 0 === t && (t = null),
                    void 0 === o && (o = null),
                    void 0 === n && (n = !1),
                    this.listView.refreshScrollView(e, t, o, n);
            }),
            (t.prototype.refreshListView = function (e) {
                this.listView.refreshListView(e);
            }),
            Object.defineProperty(t.prototype, "listView", {
                get: function () {
                    return this._listView || (this._listView = this.node.getComponent(s.default)), this._listView;
                },
                enumerable: !1,
                configurable: !0
            }),
            r([l, u(-1e3), d("ListView/ListView")], t)
        );
    })(cc.Component);
i.default = p;
